Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 12 - Draw Context Objects / Draw Context Objects Reference
Draw Context Objects Routines / Managing Macintosh Draw Contexts


Q3MacDrawContext_SetGrafPort

You can use the Q3MacDrawContext_SetGrafPort function to set the QuickDraw graphics port associated with a Macintosh draw context.

TQ3Status Q3MacDrawContext_SetGrafPort (
TQ3DrawContextObject drawContext, 
const CGrafPtr grafPort);
drawContext
A Macintosh draw context object.
grafPort
The QuickDraw graphics port to be associated with the specified draw context.
DESCRIPTION
The Q3MacDrawContext_SetGrafPort function sets the QuickDraw graphics port associated with the draw context specified by the drawContext parameter to the graphics port specified by the grafPort parameter. The two-dimensional graphics library associated with the specified draw context must be kQ3Mac2DLibraryQuickDraw.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996